import { request } from '@/utils/http'

/**
 * 权限操作
 */
export default {
    /**
    * 登录
    */
    login: (params = {}) => request.post('/auth/login', null, { params }, { needToken: false }),
    /**
   * 退出
   */
    logout: () => request.get('/auth/logout'),
}
